<template>
  <view></view>
</template>

<script setup>
  import { onMounted } from 'vue';
  import { ObjectToQueryString } from "@/utils/utils";

  onMounted(() => {
    uni.redirectTo({ url: `/externalPackage/pages/index/index?${ObjectToQueryString(uni.getLaunchOptionsSync().query)}` })
    // uni.reLaunch({ url: `/campaign/pages/test/test?${ObjectToQueryString(uni.getLaunchOptionsSync().query)}` })
  })
</script>

<style lang="less" scoped>
@import "@/static/css/theme.less";
.main_content {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
  padding-top: 200px;
}
</style>
